Program to check even odd without using if- else